package gameBasicElements;



/**
 * @author Igor Adamski
 *
 */
public class Move
{
	private Position pos;
	private PlayerColor player;
	public Move(Position pos, PlayerColor color)
	{
		this.pos = pos;
		this.player = color;
	}

	public Position getPosition()
	{
		return pos;
	}

	public PlayerColor getColor()
	{
		return player;
	}
	
	public boolean passed() {
		return pos == null;
	}
}
